Piwik\Plugins\GeoIp2\LocationProvider\GeoIp2\Php C

Total Complexity 117
Dependencies 13
Dependents 3
Total lines 500
Lines of code 312
Logical lines of code 230
Comment lines 111
Methods 15
Properties 2

Methods 15

Method Rating Maintainability Complexity Lines of code
getLocation()
D
35 33 80
detectDatabaseType()
B
44 24 41
getSupportedLocationInfo()
B
46 17 38
getInfo()
A
47 9 35
renderConfiguration()
A
46 7 35
getGeoIpInstance()
S
61 5 12
setCityResults()
S
60 4 12
determineRegionIsoCodeByNameAndCountryCode()
S
61 4 12
__construct()
S
64 4 10
clearCachedInstances()
S
66 3 9
determinSubdivision()
S
70 2 6
isAvailable()
S
71 2 5
__destroy()
S
82 1 3
setCountryResults()
S
70 1 6
renderSetUpGuide()
S
66 1 8